include_directories (../)
include_directories (./)

ADD_LIBRARY(
        FFmpegExtra STATIC
        
        LRUCache.hpp
        LRUCache.cpp

        Downloader.hpp
        Downloader.cpp

        DownloadManager.hpp
        DownloadManager.cpp

        Downloader_C.h
        Downloader_C.cpp
)

SET(head_files
        LRUCache.hpp
        Downloader.hpp
        DownloadManager.hpp
        Downloader_C.h
        )

INSTALL(FILES ${head_files} DESTINATION include/FFmpegExtra)
INSTALL(
        TARGETS FFmpegExtra
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)
